
#iotv30_usr/makefile 


# This is a basic Makefile for setting the general configuration
include ../Makeheader.mk



OBJS = _fifo.o   cm_time.o logfile.o  misc_tools.o   test_mode.o  user_nv.o  time_taskv30.o simple_event.o mYmodem.o iot_shell.o #  

all : $(OBJS) COPY_OBJ
#	$(CC) $^  -o  $@

%.o : %.c 
	$(CC)  $(CFLAGS)  -c  $<  -o  $@  

COPY_OBJ:
	cp  *.o ../$(OBJS_DIR)
	

#.c.o:
#	$(CC) $(CFLAGS) -c -o $*.o $<


#%.o : %.c 
#	$(CC)  $(CFLAGS)  -c  $<  -o  $@


.PHONY: clean

clean:
	@rm -f *.o *.a 




